package com.lk.bean;

import java.io.Serializable;

/**
 * @author lk
 * @date 2020/4/14 0014 11:38
 * @description:
 */
public class Goods implements Serializable {

    //实体类实现序列化，避免后面出现异常
    private static final long serialVersionUID = 1L;
    /**
     * 商品ID
     */
    public String goodsId;
    /**
     * 商品名
     */
    public String goodsName;
    /**
     * 商品价格
     */
    public String goodsPrice;
    /**
     * 图片
     */
    public String goodsImg;
    /**
     * 商品类型（0-手机；1-电脑）
     */
    public String goodsType;

    public Goods() {
    }

    public Goods(String goodsId, String goodsName, String goodsPrice, String goodsImg, String goodsType) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsImg = goodsImg;
        this.goodsType = goodsType;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }
}
